﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LimaLims.Core.Enum
{
    public enum BusinessType
    {
        /// <summary>
        /// 试验计划
        /// </summary>
        [Description("试验计划")]
        ExperimentPlan = 1,

        /// <summary>
        /// 试验任务
        /// </summary>
        [Description("试验任务")]
        ExperimentTask = 2,

        /// <summary>
        /// 不良品处理
        /// </summary>
        [Description("不良品处理")]
        RejectDeal = 3,

        /// <summary>
        /// 试验项目
        /// </summary>
        [Description("试验项目")]
        InspectionItem = 4,

        /// <summary>
        /// 试验方案
        /// </summary>
        [Description("试验方案")]
        InspectionScheme = 5,

        /// <summary>
        /// 设备仪器
        /// </summary>
        [Description("设备仪器")]
        EquipmentInfo = 6,

        /// <summary>
        /// 仪器报修
        /// </summary>
        [Description("仪器报修")]
        EquipmentRepair = 7,

        /// <summary>
        /// 产品
        /// </summary>
        [Description("产品")]
        Product = 8,

        /// <summary>
        /// 物料
        /// </summary>
        [Description("物料")]
        Material = 9,

        /// <summary>
        /// 不良原因
        /// </summary>
        [Description("不良原因")]
        DefectiveReason = 10,

        /// <summary>
        /// 处理意见
        /// </summary>
        [Description("处理意见")]
        DealOpinion = 11,

        /// <summary>
        /// 项目图号
        /// </summary>
        [Description("项目图号")]
        Project = 12,
    }

    public enum RulesDateType
    {
        /// <summary>
        /// 年
        /// </summary>
        [Description("年")]
        Year = 1,

        /// <summary>
        /// 年月
        /// </summary>
        [Description("年月")]
        Month = 2,

        /// <summary>
        /// 年月日
        /// </summary>
        [Description("年月日")]
        Date = 3,

        /// <summary>
        /// 年月日时分秒
        /// </summary>
        [Description("年月日时分秒")]
        Time = 4,
    }
}
